package com.keba.lamp.complaint.vo.update;

import com.keba.basic.base.entity.SuperEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 发送案件材料
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-03-28 22:53:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Schema(description = "发送案件材料")
public class CaseSendEmailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "案件ID")
    @NotNull(message = "请填写案件ID", groups = SuperEntity.Update.class)
    private Long id;

    @Schema(description = "邮箱")
    @NotEmpty(message = "请填写邮箱")
    private String email;

}
